package de.pierrepoenisch.checkyoursite.client;

import com.google.gwt.user.client.rpc.IsSerializable;

//TODO try to change this into MVC

/**
 * Class that holds the results of a site check.
 * @author pierre
 *
 */
public class CheckResult implements IsSerializable{
	private String URI;
	private double siteSizeKB;
	private double timeInSec;


	private CheckResultStateET state;
	//array of checkResults from the single files
	private CheckResult[] referredFilesCheckResult;
	
	public CheckResult(){
	}

	public String getURI() {
		return URI;
	}

	public void setURI(String uri) {
		URI = uri;
	}

	public double getSiteSizeKB() {
		return siteSizeKB;
	}

	public void setSiteSizeKB(double siteSizeKB) {
		this.siteSizeKB = siteSizeKB;
	}

	public CheckResult[] getReferredFilesCheckResult() {
		return referredFilesCheckResult;
	}

	public void setReferredFilesCheckResult(CheckResult[] referredFilesCheckResult) {
		this.referredFilesCheckResult = referredFilesCheckResult;
	}

	public double getTimeInSec() {
		return timeInSec;
	}

	public void setTimeInSec(double timeInSec) {
		this.timeInSec = timeInSec;
	}

	public CheckResultStateET getState() {
		return state;
	}

	public void setState(CheckResultStateET state) {
		this.state = state;
	}
	
	
}
